<div>
    <div class="row">
        <div class="col-md-1 padding-r-0">
            <vc:create path="community/selectAdminCommunity"></vc:create>
        </div>
        <div class="col-md-11">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5>
                        <vc:i18n name="查询条件" namespace="adminAccount"></vc:i18n>
                    </h5>
                    <div class="ibox-tools" style="top:10px;">
                    </div>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-2">
                            <div class="form-group">
                                <select class="custom-select" v-model.trim="adminAccountInfo.conditions.acctType">
                                    <option selected value="">请选择账户类型</option>
                                    <option :value="item.statusCd" v-for="(item,index) in adminAccountInfo.acctTypes" :key="index">{{item.name}}</option>
                                </select>
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <div class="form-group">
                                <input type="text" :placeholder="vc.i18n('请输入账户名称','adminAccount')"
                                    v-model="adminAccountInfo.conditions.ownerName" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <div class="form-group">
                                <input type="text" :placeholder="vc.i18n('请输入身份证号','adminAccount')"
                                    v-model="adminAccountInfo.conditions.idCard" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <div class="form-group">
                                <input type="number" :placeholder="vc.i18n('请输入联系方式','adminAccount')"
                                    v-model="adminAccountInfo.conditions.link" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <button type="button" class="btn btn-primary btn-sm" v-on:click="_queryAccountMethod()">
                                <vc:i18n name="查询" namespace="adminAccount"></vc:i18n>
                            </button>
                            <button type="button" class="btn btn-primary btn-sm" v-on:click="_resetAccountMethod()">
                                <vc:i18n name="重置" namespace="adminAccount"></vc:i18n>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            <div class="ibox">
                <div class="ibox-title">
                    <h5>
                        <vc:i18n name="业主账户" namespace="adminAccount"></vc:i18n>
                    </h5>
                    <div class="ibox-tools" style="top:10px;">

                    </div>
                </div>
                <div class="ibox-content">
                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                        <thead>
                            <tr>
                                <th class="text-center">
                                    <vc:i18n name="账户编号" namespace="adminAccount"></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name="账户名称" namespace="adminAccount"></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name="身份证号" namespace="adminAccount"></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name="手机号" namespace="adminAccount"></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name="账户类型" namespace="adminAccount"></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name="账户金额" namespace="adminAccount"></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name="扣款房号" namespace="adminAccount"></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name="创建时间" namespace="adminAccount"></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name="操作" namespace="adminAccount"></vc:i18n>
                                </th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr v-for="account in adminAccountInfo.accounts">
                                <td class="text-center">{{account.acctId}}</td>
                                <td class="text-center">{{account.acctName}}</td>
                                <td class="text-center">{{account.idCard}}</td>
                                <td class="text-center">{{account.link}}</td>
                                <td class="text-center">{{account.acctTypeName}}</td>
                                <td class="text-center">{{account.amount}}</td>
                                <td class="text-center">{{account.roomName || '无'}}</td>
                                <td class="text-center">{{account.createTime}}</td>
                                <td class="text-center">
                                    <div class="btn-group">
                                        <button class="btn-white btn btn-xs" v-on:click="_accountDetail(account)">
                                            <vc:i18n name="账户明细" namespace="adminAccount"></vc:i18n>
                                        </button>
                                    </div>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                    <!-- 分页 -->
                    <vc:create path="frame/pagination"></vc:create>
                </div>
            </div>
        </div>
    </div>
</div>